package com.example.demo.design.demo10_templateMethod;

/**
 * Created by 蔡超 on 2018/10/2.
 */
public class StudentB extends AbstractTemplate {
    @Override
    void answer1() {
        System.out.println("B作答Q1");
    }

    @Override
    void answer2() {
        System.out.println("B作答Q2");
    }

    @Override
    void answer3() {
        System.out.println("B作答Q3");
    }
}
